-- GENERATED SPELL FOR [Razormane Scout] --


function spell0_3112(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3112', 586, 1)
end

function Sorts_3112(pUnit, Event)
local choix_sorts_3112 = math.random(0, 0)
if choix_sorts_3112 == 0 then
pUnit:RegisterEvent('spell0_3112', 1, 1)
end
end

function mob3112_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3112', math.random(1500, 3000), 1)
end

function mob3112_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3112_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3112_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3112, 1, 'mob3112_Action')
RegisterUnitEvent(3112, 2, 'mob3112_Leave')
RegisterUnitEvent(3112, 3, 'mob3112_Kill')
RegisterUnitEvent(3112, 4, 'mob3112_Die')
